<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<table align="center" class="table-page">
  <tr>
    <td width="62%">
		<span class="page-current">当前第 </span><span class="page-num">${page.thisPageNumber}</span>
		<span class="page-current"> 页</span>
		<span class="page-depict">共 </span><span class="page-num">${page.totalNumberOfElements}</span>
		<span class="page-depict"> 条数据 每页 </span><span class="page-num">${page.pageSize}</span>
		<span class="page-depict"> 条　共 </span><span class="page-num">${page.lastPageNumber}</span>
		<span class="page-depict"> 页</span>
    </td>
	<td width="20%" align="right" valign="bottom" >
		<a href="javaScript:doQuery(1);" title="第一页"><img src="<s:url value="/res/table/images/space.gif"/>" width="16" height="16" border="0" class="page-first"></a>
		<a href="javaScript:doQuery(${page.previousPageNumber});" title="上一页"><img src="<s:url value="/res/table/images/space.gif"/>" width="16" height="16" border="0" class="page-previous"></a> 
		<a href="javaScript:doQuery(${page.nextPageNumber});" title="下一页"><img src="<s:url value="/res/table/images/space.gif"/>" width="16" height="16" border="0" class="page-next"></a> 
		<a href="javaScript:doQuery(${page.lastPageNumber});" title="最未页"><img src="<s:url value="/res/table/images/space.gif"/>" width="16" height="16" border="0" class="page-last"></a> 
	</td>
	
	<td width="18%" align="right" valign="top">
		<select name="select" class="page-list" onchange="doQuery(this.value);">
			<s:bean name="org.apache.struts2.util.Counter" id="counter">
			<s:param name="first" value="1"/>
			<s:param name="last" value="%{page.lastPageNumber}"/>
			<s:iterator id="var">
				<option <s:if test="%{#var==#request.page.thisPageNumber}">selected</s:if> value="<s:property/>">第 <s:property/> 页</option>
			</s:iterator>
			</s:bean>
		</select> 
	</td>
	</tr>
</table>

